From 4f4e5dd93dd1ca43d8e0eaef7bb620761b88b171 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild2.aw" Date: Fri, 8 Dec 2006 09:32:15 -0700 Subject: [PATCH] [IA64] change XEN_DOMCTL_getmemlist to return gmfn instead of mfn This patch tries to get 'xm dump-core' work on ia64 again. With this patch, 'xm dump-core' results in creating core-dump file as before with a slight format changes. (machine address array -> pseudo physicall address array) However xm dump-core has been broken on ia64 since XEN_DOMCTL_getmemlist/ia64 is differenct from x86's. This patch does NOT fix it. Signed-off-by: Isaku Yamahata --- xen/arch/ia64/xen/dom0_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/ia64/xen/dom0_ops.c b/xen/arch/ia64/xen/dom0_ops.c index 472f03dc54..e0aaff58d6 100644 --- a/xen/arch/ia64/xen/dom0_ops.c +++ b/xen/arch/ia64/xen/dom0_ops.c @@ -55,7 +55,7 @@ long arch_do_domctl(xen_domctl_t *op, XEN_GUEST_HANDLE(xen_domctl_t) u_domctl) pte = (pte_t *)lookup_noalloc_domain_pte(d, (start_page + i) << PAGE_SHIFT); if (pte && pte_present(*pte)) - mfn = pte_pfn(*pte); + mfn = start_page + i; else mfn = INVALID_MFN; -- 2.30.2